package com.linkage.educloud.ah.mvp.contract.dynamic;

import com.linkage.educloud.ah.bean.DynamicBean;
import com.linkage.educloud.ah.mvp.ABasicPresenter;
import com.linkage.educloud.ah.mvp.IBasicView;
import com.linkage.educloud.ah.mvp.ICommonModel;

import java.util.List;

/**
 * Created by Mr'Tang on 2018/11/20.
 */

public interface IDynamicDetailContract {
    interface IView extends IBasicView {
        void updatePraise(DynamicBean bean);

        void deleteDyanmic();

        void changeComment(DynamicBean bean);
    }

    abstract class IPresenter<T extends IBasicView> extends ABasicPresenter {
        public IPresenter(T iView) {
            super(iView);
        }

        public abstract void praisedynamicnew(final DynamicBean dynamicBean, String clazz_id, final int type);

        public abstract void delDynamics(String id, int type, DynamicBean bean);

        public abstract void senddynamicmsg(DynamicBean bean, String clazz_id, Long userid, int usertype, String content);
    }

    interface IModel extends ICommonModel {

    }
}
